#ifndef WSECTOR
#define WSECTOR

#include "Level.h"
//#include "Player.h"
#include "Actor.h"
#include <vector>
#include "AnimationSolver.h"
class Sector
{
	std::vector <Actor*> m_actors;
	AnimationSolver *p_animsolver;

	Sector();

	bool Init(std::string filename,Artman *artman,AnimationSolver*animator, Actor *player);
	bool LoadEnemies(Artman *artman);
	public:
	Level m_level;

	static Sector *Create(std::string filename,Artman *artman,AnimationSolver*animator, Actor *player);


	Sector (std::string filename, Actor *player);

	~Sector();

	void Update(float dt);

	sf::Vector2 <int> getBounds();

	void Draw(sf::RenderWindow &window);
};

#endif